import axios from '@/http/api'

export const version = '/api'

/**
 *
 * @param {*}
 */
// 获取更多问题列表
export const getQuestionList = () => {
  return axios({
    url: `${version}/law/question_menu`,
    method: 'get'
  })
}

// 获取更多问题详情
export const getQuestionDetail = (data) => {
  return axios({
    url: `${version}/law/question_detail/${data}`,
    method: 'get'
  })
}

// 获取常见问题询列表
export const getFaqList = (data) => {
  return axios({
    url: `${version}/law/question_show`,
    method: 'get',
    params: data
  })
}
